package com.kevin.mapping.script.node;

import com.kevin.mapping.script.engine.JSONEnv;
import com.kevin.mapping.script.lexer.Token;

public abstract class Node implements INode {

    private Token token;

    public Token getToken() {
        return token;
    }

    public void setToken(Token token) {
        this.token = token;
    }

    public abstract Token execute(JSONEnv en);

    public abstract Object getValue(JSONEnv en);
}
